{% extends 'base.html' %}
{% block body %}
  <div class="layui-container fly-marginTop fly-user-main">
  <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
      <a href="{% url 'user_home' %}">
        <i class="layui-icon">&#xe609;</i>
        我的主页
      </a>
    </li>
    <li class="layui-nav-item {% block page_posts %}{% endblock %}">
      <a href="{% url 'user_posts' %}">
        <i class="layui-icon">&#xe612;</i>
        我的帖子
      </a>
    </li>
    <li class="layui-nav-item {% block page_set %}{% endblock %}">
      <a href="{% url 'user_setting' %}">
        <i class="layui-icon">&#xe620;</i>
        基本设置
      </a>
    </li>
    <li class="layui-nav-item {% block page_message %}{% endblock %}">
      <a href="{% url 'user_messages' %}">
        <i class="layui-icon">&#xe611;</i>
        我的消息
      </a>
    </li>
  </ul>

  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>

  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>


  <div class="fly-panel fly-panel-user" pad20>
    {% block content %}
    {% endblock %}
  </div>
  </div>
{% endblock %}